package com.xh.bussiness.permission.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.bussiness.permission.bean.dto.UserDto;
import com.xh.bussiness.permission.bean.request.QueryUserRequest;
import com.xh.bussiness.permission.model.User;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author David
 * @since 2018-08-09
 */
public interface UserMapper extends BaseMapper<User> {

    XhPage<Map<String, Object>> queryPageUser(XhPage page,@Param("bean") QueryUserRequest request);

    List<User> queryUserList(@Param("bean") QueryUserRequest request);

//    XhPage<UserDto> queryUserByGroupId(XhPage page, @Param("groupId") String groupId);
}
